# 两者都是跳出循环
# break是循环全部退出
# continue是跳出当前这次循环，进入下次循环

i = 0
while i < 10:
    i += 1
    if i == 5:
        break
    print(i)


j = 0
while j < 10:
    j += 1
    if j == 5:
        continue
    print(j)